//
//  XMInviteModel.h
//  XunMi
//
//  Created by MacBook on 2024/5/21.
//  Copyright © 2024 TieZhu. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface XMInviteAwardIntroduce : NSObject
@property (nonatomic, copy) NSString *index;
@property (nonatomic, copy) NSString *intro;

@end

@interface XMBenefits_configContent : NSObject
//"users": 2, //福利邀请人数
//"score": "50", //福利奖励积分
//"money": "5", //福利奖励金额
//"state": 2 //领取奖励状态  0 不可领  1 可以领  2 已领取

@property (nonatomic, strong) NSNumber *users;
@property (nonatomic, strong) NSNumber *state;
@property (nonatomic, copy) NSString *score;
@property (nonatomic, copy) NSString *money;

@end

@interface XMBenefits_config : NSObject
@property (nonatomic, strong) NSNumber *inviter;
@property (nonatomic, strong) NSArray <XMBenefits_configContent *> *content;

@end


@interface XMActivity_configList : NSObject

//"index": 1, //邀请等级标识
//"label": "3人以下", //邀请认证人数
//"award": "20%+1%", //邀请等级奖励
//"state": 1 //邀请等级状态
@property (nonatomic, strong) NSNumber *state;
@property (nonatomic, copy) NSString *index;
@property (nonatomic, copy) NSString *label;
@property (nonatomic, copy) NSString *award;

@end

@interface XMActivity_configContent : NSObject
//"level": 1, //活动等级标识
//"period": "2024.05.01 ～ 2024.05.31", //活动起止时间
//"next_level": 2, //下一等级标识
//"user_income": 21, //当前消费收益
//"user_invite": 0, //活动邀请人数
//"next_reward": 2, //下一等级奖励
//"need_invite": 4, //还需邀请人数
@property (nonatomic, strong) NSNumber *level;
@property (nonatomic, strong) NSNumber *next_level;
@property (nonatomic, strong) NSNumber *user_income;
@property (nonatomic, strong) NSNumber *user_invite;
@property (nonatomic, strong) NSNumber *next_reward;
@property (nonatomic, strong) NSNumber *need_invite;
@property (nonatomic, strong) NSMutableArray <XMActivity_configList*> *config_list;
@property (nonatomic, copy) NSString *period;
@end

@interface XMActivity_config : NSObject
@property (nonatomic, strong) NSNumber *status;
@property (nonatomic, copy) NSString *title;
@property (nonatomic, strong) XMActivity_configContent *content;

@end

@interface XMInvitation_dataItem : NSObject
//"invite_users": 0, //今日邀请人数
//"invite_score": "0", //今日收益积分
//"invite_money": "0" //今日收益金额

@property (nonatomic, strong) NSNumber *invite_users;
@property (nonatomic, copy) NSString *invite_score;
@property (nonatomic, copy) NSString *invite_money;

@end

@interface XMInvitation_data : NSObject
@property (nonatomic, strong) XMInvitation_dataItem *today;
@property (nonatomic, strong) XMInvitation_dataItem *total;

@end

@interface XMInviteModel : NSObject
//"recharge_income": "20", //充值收益比例
//"consumed_income": "20", //消费收益比例
//"rules_introduce": "邀请规则介绍", //邀请规则信息
@property (nonatomic, copy) NSString *recharge_income;
@property (nonatomic, copy) NSString *consumed_income;
@property (nonatomic, copy) NSString *rules_introduce;

// 奖励说明列表
@property (nonatomic, strong) NSArray <XMInviteAwardIntroduce *> *award_introduce;

//红包福利配置
@property (nonatomic, strong) XMBenefits_config *benefits_config;

//邀请活动配置
@property (nonatomic, strong) XMActivity_config *activity_config;

//用户邀请信息
@property (nonatomic, strong) XMInvitation_data *invitation_data;


@end

NS_ASSUME_NONNULL_END
